<!DOCTYPE html>
<html lang="en">
<head>
    <title>京伦内容管理系统</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/bootstrap/css/bootstrap.min.css" />
    <load href="__PUBLIC__/bootstrap/js/jquery.min.js" />
    <load href="__PUBLIC__/bootstrap/js/bootstrap.min.js" />
    <script type="text/javascript">
        $(document).ready(function(){
            $('#collapseTwo').addClass('in');
            $('#collapseOne').removeClass('in');
        });
    </script>
</head>
<body>

<!-- header -->
<include file="Public:header" />



<div class="row">
    <!-- left -->

    <include file="User:left" />

    <div class="col-md-8" style="padding-top: 70px;">
        <div class="container">
            <ol class="breadcrumb">
                <li><a href="#">Home</a></li>
                <li><a href="#">System</a></li>
                <li class="active">{$pagetitle}</li>
            </ol>
        </div>

        <!-- Content -->
        <form class="form-horizontal" action="{:U('Admin/Auth/addHandle')}" method='post'>
            <div class="form-group">
                <label for="ruleTitle" class="col-sm-2 control-label">规则简述:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" placeholder="规则简述" name="ruleTitle" id="ruleTitle" />
                </div>
                <label class="col-sm-2 control-label"></label>
            </div>

            <div class="form-group">
                <label for="ruleName" class="col-sm-2 control-label">规则标识:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" placeholder="规则标识" name="ruleName" id="ruleName" />
                </div>
                <label class="col-sm-2 control-label"></label>
            </div>

            <div class="form-group">
                <label for="condition" class="col-sm-2 control-label">附加条件:</label>
                <div class="col-sm-5">
                    <input type="text" class="form-control" placeholder="附加条件" name="condition" id="condition" />

                </div>
                <label class="col-sm-2 control-label"></label>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">是否启用:</label>
                <div class="btn-group col-sm-5" data-toggle="buttons">
                    <label class="btn btn-primary">
                        <input type="radio"  name="status"  checked="checked" value="1" />启用
                    </label>

                    <label class="btn btn-danger">
                        <input type="radio"  name="status" value="0" />禁用
                    </label>
                </div>
                <label class="col-sm-2 control-label"></label>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">所属模块:</label>
                <div class="col-sm-3">
                    <select class="form-control" name="modules">
                        <volist name="modules" id="vo">
                            <option value="{$vo['id']}">{$vo['moduleName']}</option>
                        </volist>
                    </select>

                </div>
                <label class="col-sm-2 control-label"></label>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-5">
                    <button type="submit" class="btn btn-primary">提交</button>
                    <button class="btn btn-info" onclick="javascript:history.back(-1);return false;">返 回</button>
                </div>

            </div>

        </form>


    </div>
</div>





</body>
</html>
